import request from './request'

export function getData(params) {
    return request({
        url: '/api/data',
        method: 'get',
        params
    })
}

export function getUserInfo(params) {
    return request({
        url: '/api/user',
        method: 'get',
        params
    })
}